window.onload=function(){
	var ul=document.getElementById('dom');
	var lis=dom.getElementsByTagName('li');
	for (var i=0;i<lis.length;i++) {
		lis[i].onmouseover=function(){
			this.style.backgroundColor='#fff';
			this.style.color='#000';
			var p=document.getElementById('text');
			p.innerHTML=this.getElementsByTagName('h2')[0].innerText+'月'
		};
		lis[i].onmouseleave=function(){
			this.style.backgroundColor='#424242';
			this.style.color='#fff';
		};
		
	}
};
